package handler

import (
	"context"
	"google.golang.org/protobuf/types/known/emptypb"
	"rpc_demo/goods_srv/proto"
)

type BannerServer struct {
}

func (b *BannerServer) CreateBanner(ctx context.Context, req *proto.CreateBannerRequest) (*proto.CreateBannerResponse, error) {
	return &proto.CreateBannerResponse{}, nil
}
func (b *BannerServer) UpdateBanner(ctx context.Context, req *proto.UpdateBannerRequest) (*emptypb.Empty, error) {
	return &emptypb.Empty{}, nil
}
func (b *BannerServer) DeleteBanner(ctx context.Context, req *proto.DeleteBannerRequest) (*emptypb.Empty, error) {
	return &emptypb.Empty{}, nil
}
func (b *BannerServer) GetBannerList(ctx context.Context, req *proto.PageInfo) (*proto.BannerListResponse, error) {
	return &proto.BannerListResponse{}, nil

}
func (b *BannerServer) GetBannerInfo(ctx context.Context, req *proto.GetBannerInfoRequest) (*proto.BannerResponse, error) {
	return &proto.BannerResponse{}, nil

}
